home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1993 December / PSL Monthly Shareware CD-ROM (December 1993).iso / prgmming / dos / basic / vbmake.exe / MM.DOC < prev    next >
Text File  |  1993-05-05  |  3KB  |  74 lines

  1. This is a brief note on the settings for MM.INI
  2. Type MM /? to get information about setting up a MM.INI file.
  3.  
  4. COMPILE = <filespec>            specifies your compiler.
  5.  Eg:  COMPILE = C:\VBDOS\BIN\BC
  6.  You should have one COMPILE statement.
  7.  
  8. LINK    = <filespec>            specifies your linker.
  9.  Eg:  LINK = C:\VBDOS\BIN\LINK
  10.  You should have one LINK statement.
  11.  
  12. COMPFLAGS = <expression>       specifies switches used by the compiler.
  13.  Eg: COMPFLAGS = /O /Zi
  14.  You may have any number of COMPFLAGS statements
  15.  
  16. LINKFLAGS = <expression>       specifies switches used by the linker.
  17.  Eg: LINKFLAGS = /Ex /Co
  18.  You may have any number of LINKFLAGS statements
  19.  
  20. LIB     = <filespec>[;]         specifies a library file.
  21.                                 You may have any number of LIB statements
  22.                                  or none at all.
  23.  Eg:
  24.  LIB = C:\VBDOS\LIB\VBDCL10E.LIB
  25.  LIB = C:\VBDOS\LIB\INDEX.LIB
  26.  LIB = D:\VER1.2\GRAPHIC.LIB
  27.   MM will put these 3 libraries in as dependencies for the EXE file and also
  28.   into the link file, then prompt for more libraries. Just press ENTER when you
  29.   have finished entering libraries. If you don't wish to be prompted for
  30.   libraries put this line into MM.INI:
  31.  
  32. LIB = ;
  33.  This prevents MM from asking the user for more libraries.
  34.  Also, any LIB = statements after this line will be ignored.
  35.  
  36.  
  37. OBJDIR    =  <dirspec>
  38.  Eg: OBJDIR = C:\VBDOS\OBJFILES
  39.  
  40.  This allows you to specify where all .OBJ files are put.
  41.  If this line is omitted from MM.INI, the .OBJ file is put into the same
  42.   directory AS its source file.
  43.  The line "OBJDIR=." will cause .OBJ files to be put into the current
  44.   directory i.e. the directory from which NMAKE was invoked.
  45.  You may have one OBJDIR statement, or none at all.
  46.  
  47. REPLACE = OldString//NewString
  48.  Eg: REPLACE=STB//BAS     would cause a file INPUT.STB to be replaced in the
  49.                           makefile with INPUT.BAS
  50.         In fact file firSTBas.bas would be replaced with firBASas.bas because
  51.         all occurances of STB would be changed, so be careful. It would be
  52.         safer to use: REPLACE = .STB//.BAS
  53.  
  54. REPLACE = OldString/NewString1[,NewString2[,NewStringn[,....
  55.         (Note the single slash as opposed the the double slash (//) above.)
  56.         OldString is replaced with NewString1 to create a new file name. If
  57.         the resulting file is in its directory, this file is put into the
  58.         makefile. If not, NewString2 is tried. And so on until a valid file
  59.         is found.
  60.         Use this if you wish to stub out some files for running in the
  61.         environment to save memory. For example: MONITOR.STB may have been
  62.         used to stub out either MONITOR.FRM or MONITOR.BAS though it is not
  63.         immediately obvious which one. MM can resolve this by putting the
  64.         line REPLACE = .STB/.BAS,.FRM   into MM.INI
  65.         You may have any number of REPLACE statements
  66.  
  67. CheckIncludes = True|False  
  68.         This specifies whether MM looks through source files to see if they
  69.         have included any other files. If they have, then changing an INCLUDE
  70.         file should cause the target to be rebuilt. Source files need to be
  71.         saved in text format for this facility to work.
  72.                                                 
  73.  
  74.